import http from '@/utils/http';//导入接口域名列表
import host_one from "./host/host"
import host_go_one from "./host/host_go"
const request = {
    shop_list(params, callback) {
        http.post(host_one + "/shoplist", params, callback)
    },
    add_shop(params, callback) {
        http.post(host_one + "/shopadd", params, callback)
    },
    edit_shop(params, callback) {
        http.post(host_one + "/shopupdate", params, callback)
    },
    delete_shop(params, callback) {
        http.post(host_one + "/shopdelete", params, callback)
    },
    detail_shop(params, callback) {
        http.post(host_one + "/shopdetail", params, callback)
    }
}
export default request;
